package com.info.zhiduoduo.repository.dto.address;

import com.baomidou.mybatisplus.annotations.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ToString
public class TaxRateDto {
    /**
     * 费率表id
     * */
    private Integer taxRateId;
    /**
     * '创客id'
     */
    @TableField("userid")
    private Integer userid;
    /**
     * '地区档位id'
     */
    @TableField("address_id")
    private Integer addressId;
    /**
     * '费率'
     */
    @TableField("tax_rate")
    private BigDecimal taxRate;
    /**
     * 档位表id
     */
    private Integer id;

    /**
     *  地区id
     */
    private Integer addid;

    /**
     * 最小档位数值
     */
    @TableField("min_gear")
    private Integer mingear;

    /**
     * 最大档位数值
     */
    @TableField("max_gear")
    private Integer maxgear;

    /**
     * 1.季度 2.年度
     */
    @TableField("tax_type")
    private Integer taxtype;

    /**
     * 1.不组合季度 2组合季度判断
     */
    @TableField("and_judge")
    private Integer andjudge;

}
